﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using Collections.TreeCollections;
using FeatureModelCore.FMShapes;
using System.Windows.Media;

namespace FeatureModelTool.FeatureModelGraphical.GraphicalControls
{
    public interface IControl
    {
        FeatureModelGraphicalView Canvas { get; }
        Brush Background { get; }
        int BorderThickness { get; }
        bool IsFocus { get; }

        UIElement[] ToUIElement();
        void RefreshPosition();

        void Focus();
        void ClearFocus();
        void SetPosition(FMPoint point, bool toRefresh);
        void SetPosition(double x, double y, bool toRefresh);
    }
}
